package com.example.demo.equipment.mapper;

import com.example.demo.equipment.dao.CollectingDevice;
import com.example.demo.equipment.dao.CollectingSpace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CollectingSpaceMapper {

    List<CollectingSpace> getList(@Param("start") Integer start, @Param("pageSize")Integer pageSize, @Param("name")String name);

    Integer getListCount(@Param("name")String name);

    CollectingSpace get(Integer id);

    void add(CollectingSpace collectingSpace);

    void update(CollectingSpace collectingSpace);

    void delete(Integer id);
}
